package com.my.mvpframe.ui.lesson;

import android.support.annotation.Nullable;
import android.util.Log;

import com.my.mvpframe.base.dagger.ActivityScoped;

import javax.inject.Inject;

/**
 * Created by tomey on 2018/2/1.
 */

@ActivityScoped
public class LessonPresenter extends LessonContract.Presenter{
    @Inject
    LessonPresenter(){}

    @Nullable
    private LessonContract.View lessonView;
    @Override
    public void takeView(LessonContract.View view) {
        this.lessonView = view;
    }


    @Override
    void showLessonData() {
        lessonView.showToast();
        Log.e("twb","showLessonData()");
    }
}
